package homework.innerclass.coding;

public class Ball{

    public  class Inner_m implements IBall{
        @Override
        public void play() {
            System.out.println("成员内部类 打篮球");

        }
        @Override
        public void show() {

        }
    }

    public static class Inner_s implements IBall{

        @Override
        public void play() {
            System.out.println("静态内部类在打篮球");
        }

        @Override
        public void show() {

        }
    }

    public void info(){
       class Inner_f implements IBall{

            @Override
            public void play() {
                System.out.println("方法内部类在打篮球");

            }

           @Override
           public void show() {

           }

       }
        new Inner_f().play();


    }

}
